using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ShoppingCenter.Backend.Api.Model
{
    public class Order : BaseModel
    {
        public virtual User User { get; set; }
        public int UserId { get; set; }
        public virtual Merchandise Merchandise { get; set; }
        public int MerchandiseId { get; set; }
        public int OrderNum { get; set; }

        [DefaultValue(false)]
        public bool IsPay { get; set; }



    }
}